FROM centos:8.1.1911

WORKDIR /Hist-Hr/user

COPY cmd/rpc/user/user user-rpc
COPY cmd/rpc/user/etc/user.yaml etc/user-rpc.yaml

COPY cmd/api/user user-api
COPY cmd/api/etc/user.yaml etc/user-api.yaml

COPY start.sh ./

RUN chmod +x ./start.sh

CMD ["./start.sh"]